﻿@model List<ComicBookApp.DataModels.ComicBook>

<div class="jumbotron">
    <h3>Comic Book Index <small><a href="/ComicBook/Add">+Add</a></small></h3>
</div>

<div class="row">
    @foreach(var comic in @Model)
    {
        <div class="row" onclick="location.href='/ComicBook/Detail/@comic.Id'">
            <div class="col-sm-2">
                <img class="img-responsive" src="@comic.ImageUrl" />
            </div>
            <div class="col-sm-5">
                <h4>@comic.Title</h4>
            </div>

        </div>
    }

</div>
